Designates the specified block of memory as executable code.
void MPDataToCode (
LogicalAddress address,
ByteCount size);
address
A pointer of type LogicalAddress
that specifies the starting address of the memory block you want to designate as code.
size
A value of type ByteCount
that specifies the size of the memory block.
DISCUSSION
Since PowerPC processors need to differentiate between code and data in memory, you should call this function to tag any executable code that your tasks may generate.